<template>
  <div class="youke rule-group">
    <Navs left></Navs>
    <Main>
        <div v-html="rule" class="rule"></div>
    </Main>
  </div>
</template>

<script>
import { guide } from "@/api";
export default {
  data() {
    return {
        rule:""
    };
  },
  methods: {
    getlist() {
        guide.gamerule().then(res=>{
            if(res.code==1000){
              this.rule=res.result
            }
        })
    }
  },
  mounted() {
    this.getlist();
  }
};
</script>

<style scoped lang="less">
.rule-group{
    background: #fff;
    .rule{
        padding:10px 15px;
    }
}
</style>
